package com.zxjlib.core.webui.easyui.datamodel;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ComboTreeDataModel implements Serializable {

    /**
     * 
     */
    private static final long        serialVersionUID = 3049407999931931304L;
    private String                   id;
    private String                   text;
    private String                   state            = "closed";
    private String                   code;
    private List<ComboTreeDataModel> children         = new ArrayList<ComboTreeDataModel>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<ComboTreeDataModel> getChildren() {
        return children;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setChildren(List<ComboTreeDataModel> children) {
        this.children = children;
    }

}
